package com.camel.base.service.impl;

import com.camel.base.mapper.ZsWorkShiftMapper;
import com.camel.base.model.ZsWorkShift;
import com.camel.base.service.ZsWorkShiftService;
import com.camel.core.entity.IParams;
import com.camel.core.service.AbstractBaseCommonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Administrator
 */
@Service
public class ZsWorkShiftServiceImpl extends AbstractBaseCommonService<ZsWorkShiftMapper, ZsWorkShift> implements ZsWorkShiftService<ZsWorkShift> {
    @Autowired
    private ZsWorkShiftMapper mapper;


    @Override
    public ZsWorkShiftMapper getBaseMapper() {
        return mapper;
    }

    /**
     * 查询列表
     *
     * @param params
     * @return
     */
    @Override
    public List<ZsWorkShift> list(IParams params) {
        return mapper.selectIndex(buildWrapper(params));
    }
}




